package com.aidong.myprofile.biz.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aidong.myprofile.biz.AidongSharingBiz;
import com.aidong.myprofile.dao.AidongSharingDao;

@Service("aidongSharingBiz")
public class AidongSharingBizImpl implements AidongSharingBiz {
	
	private AidongSharingDao aidongSharingDao;

	@Autowired
	public void setAidongSharingDao(AidongSharingDao aidongSharingDao) {
		this.aidongSharingDao = aidongSharingDao;
	}

	@Override
	public Map<String, Object> getCampaginOne(int id) {
		return aidongSharingDao.getCampaginOne(id);
	}

	@Override
	public Map<String, Object> getCoachOne(int id) {
		return aidongSharingDao.getCoachOne(id);
	}

	@Override
	public Map<String, Object> getStoreOne(int id) {
		return aidongSharingDao.getStoreOne(id);
	}

	@Override
	public Map<String, Object> getCourseOne(int id) {
		return aidongSharingDao.getCourseOne(id);
	}

	@Override
	public Map<String, Object> getMealRuleOne(int ruleId) {
		return aidongSharingDao.getMealRuleOne(ruleId);
	}
}
